package com.internetCafes.spms.web.sys.entity.dto.profession;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;

/**
 * 专业新增请求参数
 *
 * @author Zj
 */
@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CertificateProfessionalSaveDTO {

    @ApiModelProperty("新增标签 1-新增装专业类别 2-新增专业")
    @NotEmpty
    private Integer saveTag;

    @ApiModelProperty("证书专业时为证书类别名称/证书类别的时候为证书类型code")
    @NotEmpty
    private String type;

    @ApiModelProperty("证书专业名称/证书类别名称")
    @NotEmpty
    private String name;

    @ApiModelProperty("描述")
    @NotEmpty
    private String remark;

    @ApiModelProperty("排序")
    @NotEmpty
    private Integer sort;

    @ApiModelProperty("状态: 0:无效; 1:有效")
    @NotEmpty
    private Integer status;

}
